package api

import (
	"eat-every-day/internal/model"
	"eat-every-day/internal/repository"
	"eat-every-day/internal/service"
)

var (
	UsersHandler = usersHandler{}
)

func InitHandlers() {
	UsersHandler = usersHandler{
		Srv: &service.UsersService{
			Repo: &repository.UsersRepo{
				MySqlDataBase: model.MySqlDataBase,
			},
		},
	}
}
